InputPort=function(_5920){
draw2d.InputPort.call(this,_5920);
};
InputPort.prototype=new draw2d.InputPort();
InputPort.prototype.type="MyInputPort";
InputPort.prototype.onDrop=function(port){
if(port.getMaxFanOut&&port.getMaxFanOut()<=port.getFanOut()){
	return;
}
if(this.parentNode.id==port.parentNode.id){
}else{
	var cmdConn=new draw2d.CommandConnect(this.parentNode.workflow,port,this);
	addConnection(port.getId(), this.getId());
	var c = new draw2d.DecoratedConnection()
	c.setRouter(new draw2d.ManhattanConnectionRouter());
	cmdConn.setConnection(c);
	this.parentNode.workflow.getCommandStack().execute(cmdConn);
	showOutputPorts();
}
};
